

<h2><?php echo $screen->title; ?></h2>

<?php
$actions = $screen->screenActions;
foreach ($actions as $action) {

    $subTitle = $action->getScreen() . '\'s actions:' . $action->getStatus();

    echo '<h4>' . $subTitle . '</h4>';

    $detail = $screen->getDetailViewData($action);
    $detailData = $detail['data'];
    ?>
    <table class="table table-striped">
        <?php foreach ($detailData as $key => $item) { ?>
            <tr><td><?php echo $key; ?></td><td><?php echo $item; ?></td></tr>
        <?php } ?>
    </table>
<?php } ?>

<div class="row">
    <div class="span2"><?php echo $screen->btnConfirm;?></div>
    <div class="span2"><?php echo $screen->btnCancel;?></div>
</div>

